#!/usr/bin/env python3

import sys
sys.path.insert(1, '@pythondir@')

from pythonprop import voaP2PPlotServer

if __name__ == "__main__":
    if len(sys.argv) >= 2:
        voaP2PPlotServer.main(sys.argv[-1])
    else:
        print ('voaAreaPlot-server error: No data file specified')
        print ('voaAreaPlot-server [options] filename')
        sys.exit(1)

